public class Student1 {
    public static void main(String[] args)
    {
        Student s1=new Student();
        s1.setName("张三");
        s1.setAge(28);
        s1.setHeight(185.2);
        s1.setHobby("篮球");
        s1.show();
    }
    public class Student2{
        public static void main(String[] args){
            student show = new student();
            show.name ="小明";
            show.age = 18;
            show.classroom = "c1班";
            show.interest = "篮球";
            show.tell();
        }
    }
}
